package com.vito.framework.system.group.service;

import com.vito.framework.base.exception.CommonException;
import com.vito.framework.base.service.BaseService;
import com.vito.framework.system.group.model.GroupBean;

import java.util.List;
import java.util.Map;

public interface GroupService extends BaseService<GroupBean> {

    List<GroupBean> queryParentsList(Map<String, Object> map) throws CommonException;

    List<GroupBean> queryParentsTreeList(Map<String, Object> map) throws CommonException;

    List<GroupBean> queryGroupTreeList(Map<String, Object> map) throws CommonException;

    void addGroupSave(GroupBean groupBean) throws CommonException;

}
